//
//  FBFuNLoginFriendPickerViewController.h
//  IWISHING
//
//  Created by Phan Ba Minh on 1/24/13.
//  Copyright (c) 2013 kidbaw. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "APIRequester.h"
#import "PersonDataManager.h"

@protocol FBFunLoginFriendPickerProtocol <NSObject>
@optional
- (void)didTouchDoneFriendPickerCallback:(PersonCategoryData *)category;
- (void)didTouchBackFriendPickerCallback;
@end
@interface FBFunLoginFriendPickerViewController : UIViewController <UITableViewDataSource, UITableViewDelegate, UISearchBarDelegate> {
    APIRequester                                *_APIRequester;
    PersonCategoryData                          *_friendCategory;
    PersonCategoryData                          *_pickerCategory;
    
    NSMutableArray                              *_filterArray;
    NSMutableArray                              *_sortedKeys;
    NSMutableArray                              *_sortedValues;
    
    UITapGestureRecognizer                      *_tapGesture;
}
@property (nonatomic, assign) id<FBFunLoginFriendPickerProtocol> delegate;
@property (unsafe_unretained, nonatomic) IBOutlet UITableView *tableViewFriendPicker;
@property (strong, nonatomic) IBOutlet UISearchBar *searchBarFriendPicker;
- (IBAction)touchBack:(id)sender;
- (IBAction)touchDone:(id)sender;

@end
